Optimal. Leaf size=55 \[ -\frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{32 a^5}-\frac {\text {Chi}\left (4 \tanh ^{-1}(a x)\right )}{16 a^5}+\frac {\text {Chi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^5}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{16 a^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6181, 5556,
3382} \begin {gather*} -\frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{32 a^5}-\frac {\text {Chi}\left (4 \tanh ^{-1}(a x)\right )}{16 a^5}+\frac {\text {Chi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^5}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{16 a^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3382
Rule 5556
Rule 6181
Rubi steps
\begin {align*} \int \frac {x^4}{\left (1-a^2 x^2\right )^4 \tanh ^{-1}(a x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\cosh ^2(x) \sinh ^4(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a^5}\\ &=\frac {\text {Subst}\left (\int \left (\frac {1}{16 x}-\frac {\cosh (2 x)}{32 x}-\frac {\cosh (4 x)}{16 x}+\frac {\cosh (6 x)}{32 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a^5}\\ &=\frac {\log \left (\tanh ^{-1}(a x)\right )}{16 a^5}-\frac {\text {Subst}\left (\int \frac {\cosh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{32 a^5}+\frac {\text {Subst}\left (\int \frac {\cosh (6 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{32 a^5}-\frac {\text {Subst}\left (\int \frac {\cosh (4 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{16 a^5}\\ &=-\frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{32 a^5}-\frac {\text {Chi}\left (4 \tanh ^{-1}(a x)\right )}{16 a^5}+\frac {\text {Chi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^5}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{16 a^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 40, normalized size = 0.73 \begin {gather*} \frac {-\text {Chi}\left (2 \tanh ^{-1}(a x)\right )-2 \text {Chi}\left (4 \tanh ^{-1}(a x)\right )+\text {Chi}\left (6 \tanh ^{-1}(a x)\right )+2 \log \left (\tanh ^{-1}(a x)\right )}{32 a^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.41, size = 40, normalized size = 0.73
method | result | size |
derivativedivides | \(\frac {\frac {\ln \left (\arctanh \left (a x \right )\right )}{16}-\frac {\hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{32}-\frac {\hyperbolicCosineIntegral \left (4 \arctanh \left (a x \right )\right )}{16}+\frac {\hyperbolicCosineIntegral \left (6 \arctanh \left (a x \right )\right )}{32}}{a^{5}}\) | \(40\) |
default | \(\frac {\frac {\ln \left (\arctanh \left (a x \right )\right )}{16}-\frac {\hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{32}-\frac {\hyperbolicCosineIntegral \left (4 \arctanh \left (a x \right )\right )}{16}+\frac {\hyperbolicCosineIntegral \left (6 \arctanh \left (a x \right )\right )}{32}}{a^{5}}\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 216 vs.
\(2 (47) = 94\).
time = 0.38, size = 216, normalized size = 3.93 \begin {gather*} \frac {4 \, \log \left (\log \left (-\frac {a x + 1}{a x - 1}\right )\right ) + \operatorname {log\_integral}\left (-\frac {a^{3} x^{3} + 3 \, a^{2} x^{2} + 3 \, a x + 1}{a^{3} x^{3} - 3 \, a^{2} x^{2} + 3 \, a x - 1}\right ) + \operatorname {log\_integral}\left (-\frac {a^{3} x^{3} - 3 \, a^{2} x^{2} + 3 \, a x - 1}{a^{3} x^{3} + 3 \, a^{2} x^{2} + 3 \, a x + 1}\right ) - 2 \, \operatorname {log\_integral}\left (\frac {a^{2} x^{2} + 2 \, a x + 1}{a^{2} x^{2} - 2 \, a x + 1}\right ) - 2 \, \operatorname {log\_integral}\left (\frac {a^{2} x^{2} - 2 \, a x + 1}{a^{2} x^{2} + 2 \, a x + 1}\right ) - \operatorname {log\_integral}\left (-\frac {a x + 1}{a x - 1}\right ) - \operatorname {log\_integral}\left (-\frac {a x - 1}{a x + 1}\right )}{64 \, a^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4}}{\left (a x - 1\right )^{4} \left (a x + 1\right )^{4} \operatorname {atanh}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^4}{\mathrm {atanh}\left (a\,x\right )\,{\left (a^2\,x^2-1\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________